﻿using System;

namespace Columbus
{
    public class InvalidChooserOnCompleteHandlerException : Exception
    {
        public InvalidChooserOnCompleteHandlerException(string onComplete)
            : base (String.Format("Invalid OnComplete handler ({0}) for chooser. Handler must be current view model public instance method with single parameter (of chooser result type)", onComplete))
        {
        }
    }
}